/**
 * 
 */
package com.vision.core.cm.action;

import java.util.List;

import net.customware.gwt.dispatch.shared.Result;
import net.sf.gilead.pojo.gwt.LightEntity;

import com.vision.core.cm.db.data.Role;
import com.vision.core.cm.db.data.User;

/**
 * @author Mark
 *
 */
public class AssignRolesToUserResult extends LightEntity implements Result {

	private static final long serialVersionUID = 1L;
	
	private User user;
	private List<Role> roles;
	
	AssignRolesToUserResult() { }
	
	public AssignRolesToUserResult(User user, List<Role> roles) {
		this.user = user;
		this.roles = roles;
	}

	public User getUser() {
		return user;
	}
	
	public List<Role> getRoles() {
		return roles;
	}

}
